package com.gitee.core.dubbo;


import com.gitee.core.dubbo.core.CallResult;
import com.gitee.core.dubbo.core.Service;
import com.gitee.core.dubbo.core.ServiceDispacher;
import com.gitee.core.dubbo.core.ServiceDispacherImpl;

public class RpcManagerImpl implements RpcManager {


    public CallResult invoke(Service service) {
        ServiceDispacher serviceDispacher = new ServiceDispacherImpl();
        return serviceDispacher.invoke(service);

    }

}
